import React from 'react'
import ListItem from './ListItem'

const List = props =>(
    <ul className="mv-list">
        { props.hot_movies && props.hot_movies.movieList.map( item => <ListItem
        key = { item.id }
        { ...item }
        /> ) }
    </ul>
)

export default List